home *** CD-ROM | disk | FTP | other *** search
-
- /* Menu Constants */
-
- #define IDM_ABOUT 100
- #define IDM_OPEN 101
- #define IDM_EXIT 102
- #define IDM_DRAW 103
- #define IDM_ZOOM 104
- #define IDM_UNZOOM 105
- #define IDM_DRMETA 106
- #define IDM_CLIP 107
- #define IDM_MFOPEN 108
-
- #define IDC_FILENAME 400
- #define IDC_EDIT 401
- #define IDC_FILES 402
- #define IDC_PATH 403
- #define IDC_LISTBOX 404
- #define IDM_FOPEN 405
- #define IDM_FCANCEL 406
- #define IDM_MFNAME 407
- #define IDM_WRITEMF 408
- #define IDM_CANCELMF 409
-
-
- /* Function Prototypes */
-
- int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int);
- BOOL windxfInit(HANDLE);
- long FAR PASCAL windxfWndProc(HWND, unsigned, WORD, LONG);
- extern BOOL FAR PASCAL FILEDIALOGPROC(HWND hdlg,unsigned messg,WORD wParam,LONG lParam);
- extern BOOL FAR PASCAL MFNAMEPROC(HWND hdlg,unsigned messg,WORD wParam,LONG lParam);
- extern BOOL FAR PASCAL MFPROC(HWND hdlg,unsigned messg,WORD wParam,LONG lParam);
- extern BOOL FAR PASCAL About(HWND hdlg,unsigned messg,WORD wParam,LONG lParam);
-
- extern int ReadDXF(char *dxfname);
- extern int dxfstate(char *line1,char *line2);
- extern int get_followxyfloat(int fd,double *x,double *y);
- extern int get_followline(int fd,int st,char *line);
- extern int get_followarc(int fd,double *x,double *y,double *radius,double *st_ang,double *end_ang);
- extern int getline(char *line,int lim,int fd);
- extern int MapUsertoLog(double x,double y,int *lx,int *ly);
- extern void GetDbPath(char * dbpath);